package com.chaoyong.higo.adapter;

import com.chaoyong.higo.R;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.RecyclerView.ViewHolder;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class ShopAdapter extends RecyclerView.Adapter<ShopAdapter.MyViewHolder> {
	private Context context;
	private LayoutInflater inflater;
	
	public ShopAdapter(Context context) {
		super();
		this.context = context;
		inflater = inflater.from(context);
	}

	class MyViewHolder extends ViewHolder
	{

		public MyViewHolder(View arg0) {
			super(arg0);
			// TODO Auto-generated constructor stub
		}
		
	}

	@Override
	public int getItemCount() {
		// TODO Auto-generated method stub
		return 7;
	}

	@Override
	public void onBindViewHolder(MyViewHolder arg0, int arg1) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public MyViewHolder onCreateViewHolder(ViewGroup arg0, int arg1) {
		// TODO Auto-generated method stub
		MyViewHolder holder=new MyViewHolder(inflater.inflate(R.layout.item_shop, arg0, false));
		return holder;
	}
}
